package com.meowcook.pojo.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.ArrayList;

/**
 * Created with Intellij IDEA.
 * Description:
 * User: 28792
 * Date: 2025-11-19
 * Time: 10:58
 */
@Data
@ApiModel
public class SessionVO {
    @ApiModelProperty("会话id")
    private Long id;

    @ApiModelProperty("会话名称")
    private String name;

    @JsonInclude(JsonInclude.Include.ALWAYS)
    @ApiModelProperty("会话头像")
    private String avatarUrl;

    @ApiModelProperty("会话成员数量")
    private Integer numMember;

    @ApiModelProperty("未读消息数")
    private Integer uncheckNum;

    @ApiModelProperty("消息Id列表")
    private ArrayList<Long> messageIdList;

    @JsonInclude(JsonInclude.Include.ALWAYS)
    @ApiModelProperty("最新消息")
    private MessageVO lastMessage;
}
